package com.csun.cmny.provider.model.dto.followUp;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;

@Data
public class FollowUpSaveDto implements Serializable {


    /*回访日期*/
    @Column(name = "return_date")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String returnDate;

    /*跟进日期*/
    @Column(name = "follow_up_date")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String followUpDate;

    /*咨询人*/
    @Column(name = "consult_name")
    private String consultName;

    /*与老人关系 0-夫妻 1-子女 2-兄弟姐妹 3-旁系亲属 4-朋友 5-其他*/
    private Integer relation;

    /*老人名字*/
    @Column(name = "old_name")
    private String oldName;

    /*性别 0-男 1-女*/
    private Integer gender;

    /*年龄*/
    private Integer age;


    /*咨询意向 */
    private String intention;

    /*回访员*/
    @Column(name = "review_staff")
    private String reviewStaff;

    /*联系方式*/
    private String phone;

    /*备注*/
    private String remark;

    /*来源 0-渠道 1-来访登记/
     */
    private Integer source;

    /*机构id*/
    @Column(name = "group_id")
    private Long groupId;

}
